/**
 * @file header.tsx
 * @description 顶部导航栏
 */
import React, {useState} from 'react';
import {Pressable, Text, Image, Center} from 'native-base';

interface RootProps {
  parentMethod?: () => void;
}

const StateScreen: React.FC<RootProps> = ({parentMethod}) => {
    /**
   * @description 搜索
   */
     const handleRefresh = () => {
      parentMethod && parentMethod();
    };
  return (
    <Pressable onPress={() => {
      console.log('定金额');
    }}>
    <Center mt="10" >
      <Image source={require('../assets/images/pic_empty.png')}></Image>
      <Text color="muted.400">暂无数据</Text>
    </Center>
    </Pressable>

  );
};
export default StateScreen;
